package com.fu.web.mapper;

import com.fu.web.entity.descbook;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component

public interface descbookMapper {
    int deleteByPrimaryKey(@Param("bookId") Integer bookId, @Param("registerformId") Integer registerformId);

    int insert(descbook record);
    List<descbook> selectAll();
    int insertSelective(descbook record);
    descbook select(Integer bookId);
    descbook selectByPrimaryKey(@Param("bookId") Integer bookId, @Param("registerformId") Integer registerformId);
    int inset(descbook re);
    int updateByPrimaryKeySelective(descbook record);
    descbook selectByRegistetId(Integer registerformId);
    int up(descbook descbook);
    int updateByPrimaryKey(descbook record);
}